package config

type Mysql struct {
	Host     string
	Port     string
	User     string
	Password string
	Database string
}

type Redis struct {
	Host     string
	Port     string
	Password string
	Database int
}

type Nacos struct {
	Name     string
	Password string
	PublicId string
	Host     string
	Port     int
	DataId   string
	Group    string
}

type Es struct {
	Address  string
	Username string
	Password string
}

type AppConfig struct {
	Mysql
	Redis
	Nacos
	Es
}
